<%--
  Created by IntelliJ IDEA.
  User: 32204
  Date: 2024/9/19
  Time: 15:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录信息 | request对象</title>
</head>
<body bgcolor="#ccffcc">
    <h1>您刚才输入的内容是</h1>
    <%
        Enumeration enu =request.getHeaderNames();
        //循环枚举里的多个属性名
        while (enu.hasMoreElements()){
            String paramterName = (String)enu.nextElement();
            String paramterValue = request.getParameter(paramterName);
            out.print("参数名称："+paramterName + "<br>");
            out.print("参数内容："+paramterValue + "<br>");
        }
    %>
</body>
</html>
